package com.practice.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.practice.common.result.Result;
import com.practice.pojo.admin.dto.AdvposDTO;
import com.practice.pojo.admin.dto.AdvposPageDTO;
import com.practice.pojo.admin.entity.Advpos;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itcast
 * @since 2023-05-15
 */
public interface AdvposService extends IService<Advpos> {


    //广告位列表-分页查询
    Result pageList(AdvposPageDTO advposPageDTO);


    //广告位修改
    Result advposUpdate(AdvposDTO advposDTO);

    //广告位删除
    Result advposDelete(Integer id);

    //广告位列表-全部
    Result advposAll();

    //广告位详情
    Result advposDetail(Integer id);

    //广告位添加
    Result advposAdd(AdvposDTO advposDTO);
}
